Himmelblau's function

Himmelblau's function

In 3D
Contour

In mathematical optimization, the Himmelblau's function is a multi-modal function, used to test the performance of optimization algorithms. The function is defined by:

f(x, y) = (x^2%2By-11)^2 %2B (x%2By^2-7)^2.\quad

It has one local maximum at x = -0.270845 \quad and y = -0.923039 \quad where f(x,y) = 181.617 \quad, and four identical local minima:

The locations of all the minima can be found analytically, but the expressions are long and complicated.

See also